@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Pu shuo <pushuo@opencart.cn>
// @created          2017-09-26 11:12:49
// @modified         2017-10-25 19:03:06
//

.sidebar-widget {
  list-style: none;
  padding-left: 0;

  .title {
    margin-bottom: 16px;
    font-size:22px;
    font-weight:bold;
    line-height:29px;
  }

  li {
    box-shadow: none;
    margin: 8px 0 0;
    border-bottom: 1px solid #E6E6E6;

    .category-href {
      display: inline-block;
      padding-left: 6px;
      position: relative;
      color: $brand-secondary;
      line-height: 20px;
      font-size: 16px;
      padding-bottom: 8px;

      //&:before {
      //  content: '\f105';
      //  font-family: "fontawesome";
      //  position: absolute;
      //  top: -3px;
      //  left: 0;
      //  color: #222;
      //  font-size: 16px;
      //}
    }

     &> a{
      color: $brand-secondary;
    }

    &.active {
      > a {
        color: $brand-primary;
      }
    }
  }

  ul {
    padding-left: 20px;
    list-style: none;
    padding-top: 1px;
    padding-bottom: 3px;

    li {
      margin: 0;
      padding: 5px 0;
      border-bottom: none;

      &:last-of-type {
        border: none;
      }

      a {
        font-size: 16px;
        &:hover {
          color: $brand-primary;
        }
      }
    }
  }

  .toggle-icon {
    float: right;
    font-size: 16px;
    padding: 0 6px;

    i {
      @include transition(all .3s ease-in-out);
    }

    &.collapsed {
      i {
        @include default-transform(rotate(-180deg));
      }
    }
  }
}